package com.kun.domain;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class FormData {

    /**
     * 流程定义ID
     */
    private String processDefinitionId;

    /**
     * 流程实例ID
     */
    private String processInstanceId;

    /**
     * 表单TaskKey
     */
    private String formKey;

    /**
     * 控件ID
     */
    private String controlId;
    /**
     * 控件存放值
     */
    private String controlValue;

    public FormData(String formKey, String processDefinitionId, String processInstanceId, String controlId, String controlValue) {
        this.formKey = formKey;
        this.processDefinitionId = processDefinitionId;
        this.processInstanceId = processInstanceId;
        this.controlId = controlId;
        this.controlValue = controlValue;
    }

}
